﻿using System.Collections.Generic;

namespace Zocono.WCS.Admin.Models.WorkTaskManager
{
    public class TaskStateItem
    {
        public string TaskStateName { get; set; }
        public string TaskStateCode { get; set; }
        public int TaskStateValue { get; set; }

        public readonly static List<TaskStateItem> TaskStateDatasource = new List<TaskStateItem>()
        {
            new TaskStateItem(){ TaskStateCode="请选择", TaskStateName="请选择", TaskStateValue=-1 },
            new TaskStateItem(){ TaskStateCode="Initial", TaskStateName="初始状态", TaskStateValue=0 },
            new TaskStateItem(){ TaskStateCode="Executing", TaskStateName="工作中", TaskStateValue=2 },
            new TaskStateItem(){ TaskStateCode="Finish", TaskStateName="完成", TaskStateValue=3 },
            new TaskStateItem(){ TaskStateCode="ManualFinish", TaskStateName="手动完成", TaskStateValue=4 },
            new TaskStateItem(){ TaskStateCode="Cancel", TaskStateName="取消", TaskStateValue=5 },
        };
    }
}
